package micro86.engine.parametres;

import micro86.engine.State;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;

/**
 * (c) Kate Luzhevskaya 2013
 */
public class IntConst implements IntParameter{
    private int value;

    public IntConst(int value) {
        this.value = value;
    }

    @Override
    public int get(State state){
        return value;
    }
    @Override
    public void set(State state, int value){
        throw new NotImplementedException();
    }

}
